// set path here 
gl path "~/"

use "$path/Replication/nc_analysis.dta", clear

collapse (mean) g_, by(homeowner_g year)

graph twoway (line g_ year if year > 2008 & homeowner_g == 1, lcolor(gs12) lpattern(dash)) || ///
	(line g_ year if year > 2008 & homeowner_g == 0, lcolor(black) lpattern(solid)), ///
	xtitle("") ytitle("Rate of Turnout in General Election") legend(off) ///
	text(.89 2014 "Long-term Homeowners", size(small)) ///
	text(.72 2012.3 "Long-term Renters", size(small)) scale(1.3)
	
graph export "$path/Replication/figure6.pdf", replace
graph export "$path/Replication/figure6.eps", replace

